package com.uuj.dome;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * ClassName:StaticConfiguration
 * PACKAGE_NAME:com.uuj.dome
 */
@Configuration
public class StaticConfiguration implements WebMvcConfigurer {
    @Override
    public void addResourceHandlers(ResourceHandlerRegistry registry) {
        registry.addResourceHandler("/static/resources/**").addResourceLocations("classpath:/static/");
    }
}
